import add_records

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

class MainPage(webapp.RequestHandler):
  def get(self):
    self.response.headers['Content-Type'] = 'text/plain'
    self.response.out.write('No one home yet.')

application = webapp.WSGIApplication([
  ('/', MainPage),
  ('/add_id', add_records.AddPatientId),
  ('/add_proc', add_records.AddProcedure),
  ],
  debug=True)

def main():
  run_wsgi_app(application)

if __name__ == "__main__":
  main()
